package com.xxx.dorm.dao;

import com.xxx.dorm.domain.Record;

import java.util.List;

public interface RecordDao {

    List<Record> findAllRecord();

    void activeDisabled(Integer rid);

    void addRecord(Record record);

    Record findById(Integer rid);

    void updateRecord(Record record);

    void deleteRecord(Integer id);

    List<Record> find(String conditions, String information);
}
